home *** CD-ROM | disk | FTP | other *** search
- Path: news.crystalball.com!news
- From: Larry Weiss <lfw@oc.com>
- Newsgroups: comp.lang.c
- Subject: Re: #include --> Question
- Date: Tue, 27 Feb 1996 15:32:44 -0600
- Organization: crystalball.com
- Message-ID: <3133787C.59AE@oc.com>
- References: <4gvp2c$sdr$1@mhafc.production.compuserve.com>
- NNTP-Posting-Host: external.oc.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- <Matt> mmartone@mysite.com wrote:
- >
- > How do i include a file with the #include statement? the
- > file is "c:\snappy\1.gif".
-
-
- The exact semantics of the #include directive are left up to the
- implementation, so do be aware that there is no answer to your
- question that a reading of the Standard would guarantee.
-
- The format of your example filename indicates to me that you
- are using an inplementation of C for an MSDOS platform.
-
- You might try
-
-
- #include <c:\snappy\1.gif>
-
- -or- (and I usually don't ever recommend the "..." variation)
-
- #include "c:\snappy\1.gif"
-
- and if that doesn't work, please repost your question to
- an MSDOS oriented newsgroup (for example news:comp.msdos.programmer),
- after reading it's FAQ to see if your question is within its charter.
-